
package com.greenyoung.pwiki.oss.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.greenyoung.pwiki.oss.entity.ConfigEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 系统配置信息
 *
 */
@Mapper
public interface ConfigDao extends BaseMapper<ConfigEntity> {

	/**
	 * 根据key，查询value
	 */
	ConfigEntity queryByKey(String paramKey);

	/**
	 * 根据key，更新value
	 */
	int updateValueByKey(@Param("paramKey") String paramKey, @Param("paramValue") String paramValue);
	
}
